import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: '/tmm',
    name: 'tmm',
    component: () => import('../views/element/tlias/TmmView.vue')
  },
  {
    path: '/addbook',
    name: 'addbook',
    component: () => import('../views/element/tlias/AddbookView.vue')
  },
  {
    path: '/',
    name: 'first',
    component: () => import('../views/element/tlias/FirstView.vue')
    //redirect:'/tmm'
  },
  {
    path: '/user',
    name: 'user',
    component: () => import('../views/element/tlias/UserView.vue')
  },
  {
    path: '/status',
    name: 'status',
    component: () => import('../views/element/tlias/StatusView.vue')
  },
  {
    path: '/order',
    name: 'order',
    component: () => import('../views/element/tlias/OrderView.vue')
  },
  {
    path: '/stock',
    name: 'status',
    component: () => import('../views/element/tlias/StockView.vue')
  },
  {
    path: '/assay',
    name: 'assay',
    component: () => import('../views/element/tlias/AssayView.vue')
  }

]

const router = new VueRouter({
  routes
})

export default router
